let name = 'jack'
let age = 10
let say = function(){
    console.log('说话');
}

module.exports = {
    name:name,  // 暴露私有的name属性对象
    age:age,
    say:say
}

// module.exports = name


/**
 *  commonjs 模块化规范
 *  
 *   es6模块化
 * 
 * 
 */